﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shopsoft.main.CustomSearch
{
    /// <summary>
    /// 搜索条件
    /// </summary>
    public class SearchWhere
    {
        public SearchWhere()
        {
            isDeleted = false;
            DateTimeIntervals = new List<DateTime?[]>();
            KeyWords = new string[10];
            //Role = new RoleInfo();
        }

        /// <summary>
        /// 时间区间列表
        /// </summary>
        public List<DateTime?[]> DateTimeIntervals { get; set; }

        /// <summary>
        /// 关键字列表
        /// </summary>
        public string[] KeyWords { get; set; }

        /// <summary>
        /// 是否已删除
        /// </summary>
        public bool isDeleted { get; set; }

        /// <summary>
        /// 会员等级ID
        /// </summary>
        public int? MemberGradeID { get; set; }
    }
}
